#include <algorithm>
#include <iostream>
#include <deque>

class Transform
{
    public:
    int operator()(int val)
    {
        return val;
    }
};

class Print
{
    public:
    void operator()(int val)
    {
        std::cout<<val<<" ";
    }
};

void test()
{
    std::deque<int>d;
    for (int i = 0;i < 10;i++)
    {
        d.push_back(i*10);
    }
      
    std::deque<int>d1;
    d1.resize(d.size());
    
    std::transform(d.begin(),d.end(),d1.begin(),Transform());

    std::for_each(d1.begin(),d1.end(),Print());
}

int main()
{

    return 0;
}

// 